package net.xiangcaowuyu.springcloud.alibaba.seata.dao;

import net.xiangcaowuyu.springcloud.alibaba.seata.domain.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 博客：https://www.xiangcaowuyu.net
 * Description:
 * @Author: 香草物语
 * DateTime: 2021-07-25 21:05  
 */
public interface AccountDao {

    int decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);

}